package jcore.callback;

//希望接收事件通知的类，必须实现接口的doJob() 方法
class B implements Callback {
	
	static int b = 9;
	private String name;
	
	public B() {
		this.name = "hell";
	}
	
	public void doJob() {
		System.out.println("B does something..."+" b= "+b+" name= "+name);
	}
	
	public void print() {
		System.out.println("-------------");
	}
}
